package sTests;

import java.awt.EventQueue;
import java.awt.Frame;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.JCheckBoxMenuItem;

public class ScoringTest1 {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					ScoringTest1 window = new ScoringTest1();
					window.frame.setVisible(true);
					window.frame.setExtendedState(Frame.MAXIMIZED_BOTH);
					window.frame.setUndecorated(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public ScoringTest1() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 656, 490);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JMenuBar menuBar = new JMenuBar();
		menuBar.setBounds(220, 277, 97, 21);
		frame.getContentPane().add(menuBar);
		
		JMenu mnScore = new JMenu("Score");
		menuBar.add(mnScore);
		
		JMenu mnBlack = new JMenu("Black");
		mnScore.add(mnBlack);
		
		JMenuItem mntmAddPoints_1 = new JMenuItem("Add Points");
		mnBlack.add(mntmAddPoints_1);
		
		JMenuItem mntmSubtractPoints_1 = new JMenuItem("Subtract Points");
		mnBlack.add(mntmSubtractPoints_1);
		
		JMenu mnRed = new JMenu("Red");
		mnScore.add(mnRed);
		
		JMenuItem mntmAddPoints = new JMenuItem("Add Points");
		mnRed.add(mntmAddPoints);
		
		JMenuItem mntmSubtractPoints = new JMenuItem("Subtract points");
		mnRed.add(mntmSubtractPoints);
		
		JCheckBoxMenuItem chckbxmntmNewCheckItem = new JCheckBoxMenuItem("New check item");
		mnScore.add(chckbxmntmNewCheckItem);
	}
}
